tools: Introduce $(xenlibs-ldlibs, ) macro
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 22 Aug 2022 10:09:07 +0000 (12:09 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 22 Aug 2022 10:09:07 +0000 (12:09 +0200)
commit7f2a5e368e54884b032982b5394b8ffc3ace5a8a
tree73366589e4bf5ecede4f052fbc2a386ef136bcd3
parentd2b396d47bd9071232c103501aadb32d7b83fdbb
tools: Introduce $(xenlibs-ldlibs, ) macro

This can be used when linking against multiple in-tree Xen libraries,
and avoid duplicated flags. It can be used instead of multiple
$(LDLIBS_libxen*).

For now, replace the open-coding in libs.mk.

The macro $(xenlibs-libs, ) will be useful later when only the path to
the libraries is wanted (e.g. for checking for dependencies).

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
tools/Rules.mk
tools/libs/libs.mk